Overload | Description |
---|---|
NEventHandler<TArgs> Constructor() | Default constructor. |
NEventHandler<TArgs> Constructor(Delegate) | Creates a new event handler that calls the specified delegate. Throw an exception if the delegate is null or is not an instance of the Function(TArgs) delegate. |
NEventHandler<TArgs> Constructor(Function<TArgs>) | Creates a new event handler that calls the specified function. Throw an exception if the function is null. |